![]() |
Kinetis SDK API Reference Manual
1.0.0-beta
Freescale Semiconductor, Inc.
|
The section describes the card standard definition. More...
Macros | |
| #define | SDMMC_CARD_BUSY (uint32_t)(1 << 31) |
| card initialization complete | |
| #define | SDMMC_CARD_4BIT_MODE (1 << 18) |
| card supports 4 bit mode | |
| #define | SD_OCR_CCS (1 << 30) |
| card capacity status | |
| #define | SD_OCR_XPC (1 << 28) |
| SDXC power control. | |
| #define | SD_OCR_S18R (1 << 24) |
| switch to 1.8V request | |
| #define | SD_OCR_S18A SD_OCR_S18R |
| switch to 1.8V accepted | |
| #define | SD_BUS_WIDTH_1BIT (0U) |
| SD data bus width 1-bit mode. | |
| #define | SD_BUS_WIDTH_4BIT (2U) |
| SD data bus width 4-bit mode. | |
| #define | SD_HIGHSPEED_BUSY (0x00020000U) |
| SD card high speed busy status bit in CMD6 response. | |
| #define | SD_HIGHSPEED_SUPPORTED (0x00020000U) |
| SD card high speed support bit in CMD6 response. | |
| #define | SD_OCR_VDD_27_28 (1 << 15) |
| VDD 2.7-2.8. | |
| #define | SD_OCR_VDD_28_29 (1 << 16) |
| VDD 2.8-2.9. | |
| #define | SD_OCR_VDD_29_30 (1 << 17) |
| VDD 2.9-3.0. | |
| #define | SD_OCR_VDD_30_31 (1 << 18) |
| VDD 3.0-3.1. | |
| #define | SD_OCR_VDD_31_32 (1 << 19) |
| VDD 3.1-3.2. | |
| #define | SD_OCR_VDD_32_33 (1 << 20) |
| VDD 3.2-3.3. | |
| #define | SD_OCR_VDD_33_34 (1 << 21) |
| VDD 3.3-3.4. | |
| #define | SD_OCR_VDD_34_35 (1 << 22) |
| VDD 3.4-3.5. | |
| #define | SD_OCR_VDD_35_36 (1 << 23) |
| VDD 3.5-3.6. | |
| #define | SDMMC_CLK_100KHZ (100000U) |
| #define | SDMMC_CLK_400KHZ (400000U) |
| #define | SDMMC_CLK_25MHZ (25000000U) |
| #define | SDMMC_CLK_50MHZ (50000000U) |
| #define | SDMMC_R1_OUT_OF_RANGE (uint32_t)(1 << 31) |
| R1: out of range status bit. | |
| #define | SDMMC_R1_ADDRESS_ERROR (1 << 30) |
| R1: address error status bit. | |
| #define | SDMMC_R1_BLOCK_LEN_ERROR (1 << 29) |
| R1: block length error status bit. | |
| #define | SDMMC_R1_ERASE_SEQ_ERROR (1 << 28) |
| R1: erase sequence error status bit. | |
| #define | SDMMC_R1_ERASE_PARAM (1 << 27) |
| R1: erase parameter error status bit. | |
| #define | SDMMC_R1_WP_VIOLATION (1 << 26) |
| R1: write protection violation status bit. | |
| #define | SDMMC_R1_CARD_IS_LOCKED (1 << 25) |
| R1: card locked status bit. | |
| #define | SDMMC_R1_LOCK_UNLOCK_FAILED (1 << 24) |
| R1: lock/unlock error status bit. | |
| #define | SDMMC_R1_COM_CRC_ERROR (1 << 23) |
| R1: CRC error status bit. | |
| #define | SDMMC_R1_ILLEGAL_COMMAND (1 << 22) |
| R1: illegal command status bit. | |
| #define | SDMMC_R1_CARD_ECC_FAILED (1 << 21) |
| R1: card ecc error status bit. | |
| #define | SDMMC_R1_CC_ERROR (1 << 20) |
| R1: internal card controller status bit. | |
| #define | SDMMC_R1_ERROR (1 << 19) |
| R1: a general or an unknown error status bit. | |
| #define | SDMMC_R1_UNDERRUN (1 << 18) |
| R1: underrun status bit. | |
| #define | SDMMC_R1_OVERRUN (1 << 17) |
| R1: overrun status bit. | |
| #define | SDMMC_R1_CID_CSD_OVERWRITE (1 << 16) |
| R1: cid/csd overwrite status bit. | |
| #define | SDMMC_R1_WP_ERASE_SKIP (1 << 15) |
| R1: write protection erase skip status bit. | |
| #define | SDMMC_R1_CARD_ECC_DISABLED (1 << 14) |
| R1: card ecc disabled status bit. | |
| #define | SDMMC_R1_ERASE_RESET (1 << 13) |
| R1: erase reset status bit. | |
| #define | SDMMC_R1_STATUS(x) do { ((x) & 0xFFFFE000U); } while(0) |
| R1: status. | |
| #define | SDMMC_R1_READY_FOR_DATA (1 << 8) |
| R1: ready for data status bit. | |
| #define | SDMMC_R1_SWITCH_ERROR (1 << 7) |
| R1: switch error status bit. | |
| #define | SDMMC_R1_APP_CMD (1 << 5) |
| R1: application command enabled status bit. | |
| #define | SDMMC_R1_CURRENT_STATE(x) do { (((x) & 0x00001E00U) >> 9); } while(0) |
| R1: current state. | |
| #define | SDMMC_R1_STATE_IDLE (0U) |
| R1: current state: idle. | |
| #define | SDMMC_R1_STATE_READY (1U) |
| R1: current state: ready. | |
| #define | SDMMC_R1_STATE_IDENT (2U) |
| R1: current state: ident. | |
| #define | SDMMC_R1_STATE_STBY (3U) |
| R1: current state: stby. | |
| #define | SDMMC_R1_STATE_TRAN (4U) |
| R1: current state: tran. | |
| #define | SDMMC_R1_STATE_DATA (5U) |
| R1: current state: data. | |
| #define | SDMMC_R1_STATE_RCV (6U) |
| R1: current state: rcv. | |
| #define | SDMMC_R1_STATE_PRG (7U) |
| R1: current state: prg. | |
| #define | SDMMC_R1_STATE_DIS (8U) |
| R1: current state: dis. | |
| #define | SDMMC_SD_VERSION_1_0 (1 << 0) |
| SD card version 1.0. | |
| #define | SDMMC_SD_VERSION_1_1 (1 << 1) |
| SD card version 1.1. | |
| #define | SDMMC_SD_VERSION_2_0 (1 << 2) |
| SD card version 2.0. | |
| #define | SDMMC_SD_VERSION_3_0 (1 << 3) |
| SD card version 3.0. | |
| enum mmc_cmd_t |
| enum sdmmc_cmd_t |
| enum sd_cmd_t |
| enum sd_acmd_t |
| enum sd_switch_mode_t |